package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username  string `gorm:"type:varchar(11);not null;comment:'昵称'"`
	Password  string `gorm:"type:varchar(32);not null;comment:'密码'"`
	Image     string `gorm:"type:varchar(500);not null;comment:'头像'"`
	Name      string `gorm:"type:varchar(30);not null;comment:'会员名'"`
	Sex       string `gorm:"type:varchar(10);not null;comment:'性别'"`
	Signature string `gorm:"type:varchar(200);not null;comment:'个性签名'"`
}
